﻿#region
/*******************************************************************************
** File Name:		    INews.cs
** Creator:		        chao.jiang 
** EMail:               chao.jiang 
** Create date:	        
** Latest Modifier:
** Latest Modify date:
** Description:		    
** Modify History:
**
** Code Review:
**
** Version number:       1.0.0
*********************************************************************************/
#endregion
using System;
using System.Data;
using System.Collections.Generic;
using Phoenix.Entity;
namespace Phoenix.Respository
{
    public interface INews
    {

    #region  Auto Generation
    
        void AddNews(ENews news);

        void UpdateByNewsID(ENews news);

		void DeleteByNewsID(System.Int32 newsID);
		 
        ENews GetByNewsID(System.Int32  newsID);

	#endregion

        IList<ENews> GetPagedList(int pageSize, int pageIndex, int categoryID, out int totalRecord);

    }
}
